package top.sigetech.springcloud.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import top.sigetech.springcloud.vo.CommonResult;

public class CustomerBlockHandler {
    public static CommonResult<Object> handlerException(BlockException exception){
        return  new CommonResult<>(444,exception.getClass().getCanonicalName()+" \t 客户自定义服务不可用消息1");
    }

    public static CommonResult<Object> handlerException2(BlockException exception){
        return  new CommonResult<>(444,exception.getClass().getCanonicalName()+" \t 客户自定义服务不可用消息2");
    }
}
